package com.fqcar.fqdf.entity;

import android.os.Parcel;
import android.os.Parcelable;

import com.fqcar.fqdf.util.Constants;

/**
 * Created by lvsidong on 2017/10/21.
 *
 * 请求数据封装
 */

public class CarListPageNumReqBean extends CarListReqBean implements Parcelable{

    public String pageNum = Constants.BLANK;
    public String pageSize = Constants.BLANK;

    public String getPageNum() {
        return pageNum;
    }

    public void setPageNum(String pageNum) {
        this.pageNum = pageNum;
    }

    public String getPageSize() {
        return pageSize;
    }

    public void setPageSize(String pageSize) {
        this.pageSize = pageSize;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getLng() {
        return lng;
    }

    public void setLng(String lng) {
        this.lng = lng;
    }




    public CarListPageNumReqBean() {
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.lat);
        dest.writeString(this.lng);
        dest.writeString(this.pageNum);
        dest.writeString(this.pageSize);
    }

    protected CarListPageNumReqBean(Parcel in) {
        this.lat = in.readString();
        this.lng = in.readString();
        this.pageNum = in.readString();
        this.pageSize = in.readString();
    }

    public static final Creator<CarListPageNumReqBean> CREATOR = new Creator<CarListPageNumReqBean>() {
        @Override
        public CarListPageNumReqBean createFromParcel(Parcel source) {
            return new CarListPageNumReqBean(source);
        }

        @Override
        public CarListPageNumReqBean[] newArray(int size) {
            return new CarListPageNumReqBean[size];
        }
    };
}
